html,body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0;
  color: #333;
  padding-bottom: 100px;
}

a {
  color: #1d4391;
  text-decoration: none;
}

h3 {
  font-family: "Leckerli One";
  font-weight: normal;
  font-size: 24px;
  color: #b00404;
}

h3:first-child {
  margin-top: 0;
}

h4 {
  font-family: "Leckerli One";
  font-weight: normal;
  margin-top: 0;
}

a:hover {
  text-decoration: underline;
}

p { 
  line-height: 1.4;
}

p:first-child {
  margin-top: 0;
}

body {
  padding-bottom: 30px;
  background-image: url('../images/wood.jpg');
  background-repeat: repeat;
}

.main {
  box-shadow: 2px 2px 8px #222;
  -moz-box-shadow: 2px 2px 8px #222;
  -webkit-box-shadow: 2px 2px 8px #222;
  width: 940px;
  padding-bottom: 30px;
  margin-left: 25px;
  margin-top: 10px;
}

.sand-background {
  background-image: url('../images/sand.jpg');
  background-repeat: repeat;
  height: 800px;
  position: absolute;
  width: 940px;
  padding-bottom: 30px;
  z-index: -1;
}

h1, h2 {
  margin: 0; padding: 0;
}

img.crane {
  display: none;
  position: absolute;
}
.crane-hoverable {
  position: absolute;
  width: 65px;
  height: 65px;
  z-index: 10;
}

.video {
  text-align: center;
}

.header {
  position: relative;
  margin-top: 30px;
}
.header img {
  display: block;
}
.header .prop {
  position: absolute;
}
.header .sun {
  left: 200px; 
  top: -5px;
}

@-webkit-keyframes sun-anime {
  0% { -webkit-transform: rotate(-5deg); }
  100% { -webkit-transform: rotate(5deg); }
}

@-moz-keyframes sun-anime {
  0% { -moz-transform: rotate(-5deg); }
  100% { -moz-transform: rotate(5deg); }
}

.header .sun.animated {
  -webkit-animation-name: sun-anime;
  -webkit-animation-duration: 8s;  
  -moz-animation-name: sun-anime;
  -moz-animation-duration: 8s;  
}

.header .wave {
  top: 10px;
  left: 0px;
}

@-webkit-keyframes wave-anime {
  0% { -webkit-transform: translate(-5px, -5px) rotate(-8deg); }
  100% { -webkit-transform: translate(15px, 5px) rotate(5deg); }
}

@-moz-keyframes wave-anime {
  0% { -moz-transform: translate(-5px, -5px) rotate(-8deg); }
  100% { -moz-transform: translate(15px, 5px) rotate(5deg); }
}

.animated {
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-iteration-count: infinite;
  -moz-animation-direction: alternate;
  -moz-animation-timing-function: ease-in-out;
}

.header .wave.animated {
  -webkit-transform-origin: 0 100%;
  -webkit-animation-name: wave-anime;
  -webkit-animation-duration: 7s;
  -moz-transform-origin: 0 100%;
  -moz-animation-name: wave-anime;
  -moz-animation-duration: 7s;
}

@-webkit-keyframes leaf-anime {
  0% { -webkit-transform: rotate(-10deg); }
  100% { -webkit-transform: rotate(10deg); }
}

@-moz-keyframes leaf-anime {
  0% { -moz-transform: rotate(-10deg); }
  100% { -moz-transform: rotate(10deg); }
}

.header .leaf1 {
  top: 5px;
  left: 720px;
}

.header .leaf.animated {
  -webkit-animation-name: leaf-anime;
  -moz-animation-name: leaf-anime;
}

.header .leaf1.animated {
  -webkit-animation-duration: 5s;
  -moz-animation-duration: 5s;
}

.header .leaf2 {
  top: -10px;
  left: 760px;
}

.header .leaf2.animated {
  -webkit-animation-duration: 6s;
  -webkit-animation-fill-mode: backwards;
  -moz-animation-duration: 6s;
}

.header .leaf3 {
  top: 10px;
  left: 815px;
}

.header .leaf3.animated {
  -webkit-animation-duration: 8s;
  -moz-animation-duration: 8s;
}

.header .cloud1 {
  top: 10px;
  left: 100px;
}

@-webkit-keyframes cloud1-anime {
  0% { left: 100px; }
  100% { left: 800px; }
}

@-moz-keyframes cloud1-anime {
  0% { left: 100px; }
  100% { left: 800px; }
}

.header .cloud1.animated {
  -webkit-animation-name: cloud1-anime;
  -webkit-animation-duration: 200s;  
  -webkit-animation-timing-function: linear;
  -moz-animation-name: cloud1-anime;
  -moz-animation-duration: 200s;  
  -moz-animation-timing-function: linear;
}

.header .cloud2 {
  top: 10px;
  left: 700px;
}

@-webkit-keyframes cloud2-anime {
  0% { left: 700px; }
  100% { left: 100px; }
}

@-moz-keyframes cloud2-anime {
  0% { left: 700px; }
  100% { left: 100px; }
}

.header .cloud2.animated {
  -webkit-animation-name: cloud2-anime;
  -webkit-animation-duration: 250s;  
  -webkit-animation-timing-function: linear;
  -moz-animation-name: cloud2-anime;
  -moz-animation-duration: 250s;  
  -moz-animation-timing-function: linear;
}

.header .board {
  left: 350px; 
  top: 55px;
}

.header .trunks {
  left: 774px; 
  top: 27px;
}

/* Pages */
.pages-container {
  width: 940px;
  height: 1000px;
  position: relative;
  margin-top: -15px;
}

.page {
  width: 850px;
  position: absolute;
  padding: 0;
  background-color: #eee;
  z-index: 2;
}

.page-closed {
  box-shadow: -1px -1px 4px #333;
  -moz-box-shadow: -1px -1px 4px #333;
  -webkit-box-shadow: -1px -1px 4px #333;
  cursor: pointer;
  left: -780px;
}

.page-header-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=70)";
}

.page-home .page-header-bg { background-image: url('../images/paper1d.jpg');}
.page-settings .page-header-bg { background-image: url('../images/paper3d.jpg');}
.page-plot .page-header-bg { background-image: url('../images/paper4d.jpg');}
.page-cast .page-header-bg { background-image: url('../images/paper5d.jpg');}
.page-trailer .page-header-bg { background-image: url('../images/paper6d.jpg');}
.page-rsvp .page-header-bg { background-image: url('../images/paper7d.jpg');}
.page-extras .page-header-bg { background-image: url('../images/paper2d.jpg');}

.page-closed.page-home { top: -50px; left:-775px;}
.page-closed.page-settings { top: 0px; left:-763px;}
.page-closed.page-plot { top: 50px; left:-770px;}
.page-closed.page-cast { top: 100px; left:-775px;}
.page-closed.page-trailer { top: 150px; left:-775px;}
.page-closed.page-rsvp { top: 200px; left:-768px;}
.page-closed.page-extras { top: 275px; left:-770px;}

.page-openable.page-closed.page-hovered {
  left: -740px;
}

.page-opened {
  box-shadow: 2px 2px 8px #222;
  -moz-box-shadow: 2px 2px 8px #222;
  -webkit-box-shadow: 2px 2px 8px #222;
  top: 10px;
  left: 100px;
  z-index: 0;
  margin-bottom: 100px;
}

.page-title {
  font-size: 30px;
  font-family: "Coustard", "Courier New", serif;
  text-align: left;
  color: #111;
  font-weight: bold;
}

.page-title-tag {
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-family: "Coustard", "Courier New", serif;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  position: absolute;
  top: -10px;
  right: -5px;
  z-index: 2;
  font-weight: normal;
  padding: 25px;
}

.page-title-tag:hover {
  text-decoration: none;
}

.page-header-container {
}

.page-header {
  position: relative;
  box-shadow: 2px 2px 8px #222;
  -moz-box-shadow: 2px 2px 8px #222;
  -webkit-box-shadow: 2px 2px 8px #222;
  padding: 35px;
  z-index: 10;
}

.page-content-container {
  min-height: 200px;
  padding: 35px;
  border: 1px solid #ddd;
  border-top: 0;
}

.page-content {
  display: none;
}

h3 {
  
}

.stack {
  position: absolute;
}

.stack .page-header {
  opacity: 0.4;
  filter: alpha(opacity=40);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=40)";
}

.stack .page-closed {
  cursor: default;
}

.stack .page-content {
  min-height: 100px;
}

.notice {
  border: 1px solid #F0C36D;
  text-align: center;
  background-color: #f9edbe;
  padding: 25px;
  margin: 25px;
  margin-top: 0;
}

.ss-item .ss-required-asterisk {
  color: #b00404;
}

.ss-item .ss-choices {
  list-style: none;
}

.ss-item .ss-q-short {
  display: block;
  width: 450px;
  padding: 10px;
  border: 1px solid #ccc;
}

.ss-item textarea {
  padding: 10px;
  width: 450px;
  border: 1px solid #ccc;
}

.ss-navigate input {
  border: 1px solid #3079ed;
  padding: 15px;
  font-weight: bold;
  background-color: #4d90fe;
  color: white;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

.welcome-header {
  text-align: center;
  font-family: "Leckerli One";
  font-size: 24px;
}

.welcome-header img {
  float: left; 
}

.welcome-header .title {
  padding-top: 5px;
  font-size: 52px;
  color: #b00404;
}

.welcome-header .blurb {
  margin-top: 0px;
  color: #b00404;
}

.welcome-header .datetime {
  margin-top: 20px;
  font-size: 24px;
}

.welcome-header .details {
  margin-top: 20px;
  font-size: 18px;
}

.polaroid {
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 2px 2px 8px #222;
  -moz-box-shadow: 2px 2px 8px #222;  
  -webkit-box-shadow: 2px 2px 8px #222;  
  background-color: white;
  background-image: -webkit-linear-gradient(top,#fff,#eee);
  background-image: -moz-linear-gradient(top,#fff, #eee);
  background-image: linear-gradient(top,#fff,#eee);
  background-image: -ms-linear-gradient(top,#fff,#eee);
  display: inline-block; 
}

.polaroid.left {
  float: left;
  margin: 0 20px 10px -45px;
}

.polaroid.right {
  float: right;
  margin: 0 -45px 10px 20px;
}

.polaroid .caption {
  font-weight: bold;
  padding: 10px;
}

.polaroid-stack {
  cursor: pointer;
  position: relative;
  display: inline-block; 
  margin: 15px;
}

.polaroid-stack .polaroid {
  position: absolute;
  z-index: 0;
}

.polaroid-stack .stack-first {
  position: relative;
  z-index: 1;
}

.polaroid-stack .stack-mask {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background-color: white; 
  opacity: 0.35;
  filter: alpha(opacity=35);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=35)";
}

.polaroid-stack-hover .stack-mask {
  opacity: 0.2;
  filter: alpha(opacity=20);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=20)";
}

.polaroid-stack .stack-play {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background-image: url('../images/play.png');
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  filter: alpha(opacity=60);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=60)";
}

.polaroid-stack-hover .stack-play {
  opacity: .9;
  filter: alpha(opacity=90);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=90)";
}

.polaroid-stack .stack-title {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 24px;
  font-family: "Coustard", "Courier New", serif;
}

h3.bio-name {
  font-size: 32px;
  margin-bottom: 0;
  margin-top: 0;
}

h4.bio-title {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;;
}

.bio-blurb {
  clear: both;
}

.bio-content {
 
}

hr.bio-separator {
  border: none;
  margin: 35px 15px;
  border-bottom: 1px solid #ccc;
  clear: both;
}

.bio-lazy {
  text-align: center;
  margin-bottom: 25px;
}

.bio-lazy .bio-blurb {
  display: inline-block;
  text-align: center;
  margin-right: 25px;
}

.bio-lazy h3.bio-name {
  font-size: 20px;
  margin-top: 10px;
}

.not-mobile {
  display: none;
}

#lbCaption,#lbNumber {
  margin-right: 0;
}

#lbBottomContainer.dresscode-stack #lbCaption {
  font-size: 12px;
  line-height: 1.2em;
}